package com.ordertracker.protocol;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.ordertracker.constant.Sex;
import com.ordertracker.entity.Position;

/**
 * Description of class.
 * Created 2/7/13 4:34 PM
 *
 * @author andrey.rodin@playtech.com
 */

@XmlRootElement
public class CreateUserByOrganization implements Serializable {
    private static final long serialVersionUID = 8606629875698919139L;

    private Long id;
    private String name;
    private String login;
    private String password;
    private String description;
    private String email;
    private String firstName;
    private String lastName;
    private byte old;
    private String contactPhone;
    private Sex gender;
    private Position position;
    private Long organizationId;
    private String locale;
    private String timezone;

    @XmlElement(nillable = true)
    public Long getId() {
        return id;
    }

    @XmlElement(nillable = false)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @XmlElement(nillable = false)
    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    @XmlElement(nillable = false)
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @XmlElement(nillable = true)
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @XmlElement(nillable = false)
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @XmlElement(nillable = false)
    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    @XmlElement(nillable = false)
    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    @XmlElement(nillable = false)
    public byte getOld() {
        return old;
    }

    public void setOld(byte old) {
        this.old = old;
    }

    @XmlElement(nillable = true)
    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    @XmlElement(nillable = false)
    public Sex getGender() {
        return gender;
    }

    public void setGender(Sex gender) {
        this.gender = gender;
    }

    @XmlElement(nillable = false)
    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    @XmlElement(nillable = false)
    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    @XmlElement(nillable = false)
    public String getLocale() {
        return locale;
    }

    public void setLocale(String locale) {
        this.locale = locale;
    }

    @XmlElement(nillable = false)
    public String getTimezone() {
        return timezone;
    }

    public void setTimezone(String timezone) {
        this.timezone = timezone;
    }
}
